package com.test.intercepter;

import com.opensymphony.xwork2.ActionInvocation;
import com.opensymphony.xwork2.interceptor.AbstractInterceptor;

public class MyIntercepter extends AbstractInterceptor
{

	@Override
	public String intercept(ActionInvocation invocation) throws Exception
	{
		System.out.println("intercept1 invoked ...");
		
		String result = invocation.invoke();
		
		System.out.println("intercept1, result: " + result);	
		return result;
	}

}
